home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / udev / rules.d / 60-symlinks.rules < prev    next >
Text File  |  2008-10-24  |  862b  |  24 lines

  1. # This file establishes user-friendly symlinks to devices according to
  2. # Ubuntu policy.  See udev(7) for syntax.
  3. #
  4. # The names of the actual devices themselves must not be set here, but
  5. # in 20-names.rules; the permissions and ownership of those devices
  6. # should be set in 40-permissions.rules.
  7.  
  8. # Compatibility symlinks for /dev/scd* devices
  9. SUBSYSTEMS=="scsi", KERNEL=="sr[0-9]*",    SYMLINK+="%k"
  10.  
  11. # Compatibility symlinks for USB printers
  12. SUBSYSTEMS=="usb", KERNEL=="lp[0-9]*",  SYMLINK+="usb%k"
  13.  
  14. # Compatibility symlink for the CMOS RTC
  15. SUBSYSTEM=="rtc", DRIVERS=="rtc_cmos", SYMLINK+="rtc"
  16.  
  17. # Create /dev/pilot symlink for Palm Pilots
  18. KERNEL=="ttyUSB*", ATTRS{product}=="Palm Handheld*|Handspring *|palmOne Handheld", \
  19.                     SYMLINK+="pilot"
  20.  
  21. # Reverse mapping for /sys/dev
  22. SUBSYSTEM=="block", SYMLINK+="block/%M:%m"
  23. SUBSYSTEM!="block", SYMLINK+="char/%M:%m"
  24.